<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>清新生活 | 简单而美好的日常</title>
    <script src="https://cdn.tailwindcss.com"></script>
    <link href="https://cdn.jsdelivr.net/npm/font-awesome@4.7.0/css/font-awesome.min.css" rel="stylesheet">
    <link rel="preconnect" href="https://fonts.googleapis.com">
    <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
    <link href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap" rel="stylesheet">
    
    <script>
        tailwind.config = {
            theme: {
                extend: {
                    colors: {
                        primary: '#4ECDC4',
                        secondary: '#FF6B6B',
                        neutral: '#F7FFF7',
                        dark: '#292F36',
                        accent: '#FFD166',
                    },
                    fontFamily: {
                        inter: ['Inter', 'sans-serif'],
                    },
                }
            }
        }
    </script>
    
    <style type="text/tailwindcss">
        @layer utilities {
            .content-auto {
                content-visibility: auto;
            }
            .text-shadow {
                text-shadow: 0 2px 4px rgba(0,0,0,0.1);
            }
            .transition-custom {
                transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            }
            .hover-lift {
                transform: translateY(0);
                transition: transform 0.3s ease;
            }
            .hover-lift:hover {
                transform: translateY(-5px);
            }
        }
    </style>
</head>
<body class="font-inter bg-neutral text-dark antialiased">
    <!-- 导航栏 -->
    <header id="navbar" class="fixed w-full top-0 z-50 transition-all duration-300 bg-transparent">
        <div class="container mx-auto px-4 sm:px-6 lg:px-8">
            <div class="flex justify-between items-center py-4">
                <a href="#" class="text-2xl font-bold text-dark flex items-center space-x-2">
                    <span class="text-primary"><i class="fa fa-leaf"></i></span>
                    <span>清新生活</span>
                </a>
                
                <!-- 桌面导航 -->
                <nav class="hidden md:flex space-x-8">
                    <a href="#home" class="text-dark hover:text-primary transition-custom font-medium">首页</a>
                    <a href="#about" class="text-dark hover:text-primary transition-custom font-medium">关于</a>
                    <a href="#gallery" class="text-dark hover:text-primary transition-custom font-medium">画廊</a>
                    <a href="#contact" class="text-dark hover:text-primary transition-custom font-medium">联系</a>
                </nav>
                
                <!-- 移动端菜单按钮 -->
                <button id="menu-toggle" class="md:hidden text-dark focus:outline-none">
                    <i class="fa fa-bars text-xl"></i>
                </button>
            </div>
        </div>
        
        <!-- 移动端导航菜单 -->
        <div id="mobile-menu" class="hidden md:hidden bg-white shadow-lg absolute w-full">
            <div class="container mx-auto px-4 py-3 space-y-3">
                <a href="#home" class="block py-2 text-dark hover:text-primary transition-custom">首页</a>
                <a href="#about" class="block py-2 text-dark hover:text-primary transition-custom">关于</a>
                <a href="#gallery" class="block py-2 text-dark hover:text-primary transition-custom">画廊</a>
                <a href="#contact" class="block py-2 text-dark hover:text-primary transition-custom">联系</a>
            </div>
        </div>
    </header>

    <!-- 英雄区域 -->
    <section id="home" class="min-h-screen flex items-center justify-center relative overflow-hidden">
        <div class="absolute inset-0 z-0">
            <div class="absolute inset-0 bg-gradient-to-b from-primary/20 to-neutral"></div>
        </div>
        <div class="container mx-auto px-4 sm:px-6 lg:px-8 relative z-10">
            <div class="max-w-3xl mx-auto text-center">
                <h1 class="text-[clamp(2.5rem,5vw,4rem)] font-bold leading-tight mb-6 text-dark text-shadow">
                    简单生活，<br>美好日常
                </h1>
                <p class="text-[clamp(1rem,2vw,1.25rem)] text-dark/80 mb-8 max-w-2xl mx-auto">
                    探索清新自然的生活方式，发现平凡日子里的小确幸与美好
                </p>
                <div class="flex flex-col sm:flex-row justify-center gap-4">
                    <a href="#gallery" class="px-8 py-3 bg-primary text-white rounded-full hover:bg-primary/90 transition-custom shadow-lg hover-lift">
                        探索画廊
                    </a>
                    <a href="#about" class="px-8 py-3 bg-white text-primary border border-primary rounded-full hover:bg-primary/10 transition-custom shadow-lg hover-lift">
                        了解更多
                    </a>
                </div>
            </div>
        </div>
        
        <!-- 装饰元素 -->
        <div class="absolute bottom-10 left-1/2 transform -translate-x-1/2 animate-bounce">
            <a href="#about" class="text-primary/70 hover:text-primary transition-custom">
                <i class="fa fa-angle-down text-3xl"></i>
            </a>
        </div>
    </section>

    <!-- 关于区域 -->
    <section id="about" class="py-20 bg-white">
        <div class="container mx-auto px-4 sm:px-6 lg:px-8">
            <div class="max-w-4xl mx-auto">
                <div class="text-center mb-16">
                    <h2 class="text-[clamp(1.5rem,3vw,2.5rem)] font-bold mb-4 text-dark">关于清新生活</h2>
                    <div class="w-20 h-1 bg-primary mx-auto mb-6"></div>
                    <p class="text-dark/70 max-w-2xl mx-auto">
                        我们相信生活中的美好往往藏在最简单的事物中。
                        探索自然、艺术与日常的交融，发现平凡中的不平凡。
                    </p>
                </div>
                
                <div class="grid md:grid-cols-3 gap-8">
                    <div class="bg-neutral p-8 rounded-xl shadow-lg hover-lift">
                        <div class="w-16 h-16 bg-primary/10 rounded-full flex items-center justify-center mb-6 mx-auto">
                            <i class="fa fa-leaf text-primary text-2xl"></i>
                        </div>
                        <h3 class="text-xl font-semibold mb-3 text-center">自然生活</h3>
                        <p class="text-dark/70 text-center">
                            倡导与自然和谐共处的生活方式，减少环境足迹，拥抱可持续发展。
                        </p>
                    </div>
                    
                    <div class="bg-neutral p-8 rounded-xl shadow-lg hover-lift">
                        <div class="w-16 h-16 bg-primary/10 rounded-full flex items-center justify-center mb-6 mx-auto">
                            <i class="fa fa-paint-brush text-primary text-2xl"></i>
                        </div>
                        <h3 class="text-xl font-semibold mb-3 text-center">艺术创作</h3>
                        <p class="text-dark/70 text-center">
                            用创意和艺术点缀生活，发现平凡事物中的美学价值和创作可能。
                        </p>
                    </div>
                    
                    <div class="bg-neutral p-8 rounded-xl shadow-lg hover-lift">
                        <div class="w-16 h-16 bg-primary/10 rounded-full flex items-center justify-center mb-6 mx-auto">
                            <i class="fa fa-heart text-primary text-2xl"></i>
                        </div>
                        <h3 class="text-xl font-semibold mb-3 text-center">身心健康</h3>
                        <p class="text-dark/70 text-center">
                            关注内心平静与身体健康，通过简单的日常习惯培养持久的幸福感。
                        </p>
                    </div>
                </div>
            </div>
        </div>
    </section>

    <!-- 画廊区域 -->
    <section id="gallery" class="py-20 bg-neutral">
        <div class="container mx-auto px-4 sm:px-6 lg:px-8">
            <div class="text-center mb-16">
                <h2 class="text-[clamp(1.5rem,3vw,2.5rem)] font-bold mb-4 text-dark">生活瞬间</h2>
                <div class="w-20 h-1 bg-primary mx-auto mb-6"></div>
                <p class="text-dark/70 max-w-2xl mx-auto">
                    捕捉生活中的美好瞬间，每一张照片都是一个故事，一种心情，一段回忆。
                </p>
            </div>
            
            <div class="grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-6">
                <!-- 画廊项 1 -->
                <div class="group relative overflow-hidden rounded-xl shadow-lg hover-lift">
                    <img src="https://picsum.photos/seed/nature1/600/400" alt="清晨的自然风景" class="w-full h-80 object-cover transition-transform duration-500 group-hover:scale-110">
                    <div class="absolute inset-0 bg-gradient-to-t from-dark/70 to-transparent opacity-0 group-hover:opacity-100 transition-opacity duration-300 flex items-end">
                        <div class="p-6">
                            <h3 class="text-white text-xl font-semibold mb-2">清晨的自然风景</h3>
                            <p class="text-white/80">宁静的早晨，大自然苏醒的美丽瞬间</p>
                        </div>
                    </div>
                </div>
                
                <!-- 画廊项 2 -->
                <div class="group relative overflow-hidden rounded-xl shadow-lg hover-lift">
                    <img src="https://picsum.photos/seed/nature2/600/400" alt="精致的手冲咖啡" class="w-full h-80 object-cover transition-transform duration-500 group-hover:scale-110">
                    <div class="absolute inset-0 bg-gradient-to-t from-dark/70 to-transparent opacity-0 group-hover:opacity-100 transition-opacity duration-300 flex items-end">
                        <div class="p-6">
                            <h3 class="text-white text-xl font-semibold mb-2">精致的手冲咖啡</h3>
                            <p class="text-white/80">享受一杯精心制作的手冲咖啡，感受生活的慢节奏</p>
                        </div>
                    </div>
                </div>
                
                <!-- 画廊项 3 -->
                <div class="group relative overflow-hidden rounded-xl shadow-lg hover-lift">
                    <img src="https://picsum.photos/seed/nature3/600/400" alt="盛开的花朵" class="w-full h-80 object-cover transition-transform duration-500 group-hover:scale-110">
                    <div class="absolute inset-0 bg-gradient-to-t from-dark/70 to-transparent opacity-0 group-hover:opacity-100 transition-opacity duration-300 flex items-end">
                        <div class="p-6">
                            <h3 class="text-white text-xl font-semibold mb-2">盛开的花朵</h3>
                            <p class="text-white/80">自然的色彩与生命力，每一朵花都有自己的故事</p>
                        </div>
                    </div>
                </div>
                
                <!-- 画廊项 4 -->
                <div class="group relative overflow-hidden rounded-xl shadow-lg hover-lift">
                    <img src="https://picsum.photos/seed/nature4/600/400" alt="森林小径" class="w-full h-80 object-cover transition-transform duration-500 group-hover:scale-110">
                    <div class="absolute inset-0 bg-gradient-to-t from-dark/70 to-transparent opacity-0 group-hover:opacity-100 transition-opacity duration-300 flex items-end">
                        <div class="p-6">
                            <h3 class="text-white text-xl font-semibold mb-2">森林小径</h3>
                            <p class="text-white/80">漫步在森林中，感受大自然的宁静与力量</p>
                        </div>
                    </div>
                </div>
                
                <!-- 画廊项 5 -->
                <div class="group relative overflow-hidden rounded-xl shadow-lg hover-lift">
                    <img src="https://picsum.photos/seed/nature5/600/400" alt="海边日落" class="w-full h-80 object-cover transition-transform duration-500 group-hover:scale-110">
                    <div class="absolute inset-0 bg-gradient-to-t from-dark/70 to-transparent opacity-0 group-hover:opacity-100 transition-opacity duration-300 flex items-end">
                        <div class="p-6">
                            <h3 class="text-white text-xl font-semibold mb-2">海边日落</h3>
                            <p class="text-white/80">夕阳西下，大海与天空交织成一幅美丽的画卷</p>
                        </div>
                    </div>
                </div>
                
                <!-- 画廊项 6 -->
                <div class="group relative overflow-hidden rounded-xl shadow-lg hover-lift">
                    <img src="https://picsum.photos/seed/nature6/600/400" alt="手工制作" class="w-full h-80 object-cover transition-transform duration-500 group-hover:scale-110">
                    <div class="absolute inset-0 bg-gradient-to-t from-dark/70 to-transparent opacity-0 group-hover:opacity-100 transition-opacity duration-300 flex items-end">
                        <div class="p-6">
                            <h3 class="text-white text-xl font-semibold mb-2">手工制作</h3>
                            <p class="text-white/80">用双手创造美好，每一件手工艺品都蕴含着温度和心意</p>
                        </div>
                    </div>
                </div>
            </div>
            
            <div class="text-center mt-12">
                <a href="#" class="inline-flex items-center px-6 py-3 bg-primary text-white rounded-full hover:bg-primary/90 transition-custom shadow-lg hover-lift">
                    查看更多作品
                    <i class="fa fa-arrow-right ml-2"></i>
                </a>
            </div>
        </div>
    </section>

    <!-- 联系区域 -->
    <section id="contact" class="py-20 bg-white">
        <div class="container mx-auto px-4 sm:px-6 lg:px-8">
            <div class="max-w-4xl mx-auto">
                <div class="text-center mb-16">
                    <h2 class="text-[clamp(1.5rem,3vw,2.5rem)] font-bold mb-4 text-dark">与我们联系</h2>
                    <div class="w-20 h-1 bg-primary mx-auto mb-6"></div>
                    <p class="text-dark/70 max-w-2xl mx-auto">
                        如果你对清新生活有任何想法、建议或合作意向，欢迎随时联系我们。
                    </p>
                </div>
                
                <div class="grid md:grid-cols-2 gap-12">
                    <div>
                        <form class="space-y-6">
                            <div>
                                <label for="name" class="block text-dark/80 mb-2 font-medium">姓名</label>
                                <input type="text" id="name" class="w-full px-4 py-3 rounded-lg border border-gray-300 focus:border-primary focus:ring focus:ring-primary/20 transition-custom outline-none" placeholder="请输入您的姓名">
                            </div>
                            
                            <div>
                                <label for="email" class="block text-dark/80 mb-2 font-medium">邮箱</label>
                                <input type="email" id="email" class="w-full px-4 py-3 rounded-lg border border-gray-300 focus:border-primary focus:ring focus:ring-primary/20 transition-custom outline-none" placeholder="请输入您的邮箱">
                            </div>
                            
                            <div>
                                <label for="message" class="block text-dark/80 mb-2 font-medium">留言</label>
                                <textarea id="message" rows="5" class="w-full px-4 py-3 rounded-lg border border-gray-300 focus:border-primary focus:ring focus:ring-primary/20 transition-custom outline-none resize-none" placeholder="请输入您的留言内容"></textarea>
                            </div>
                            
                            <button type="submit" class="w-full px-6 py-3 bg-primary text-white rounded-lg hover:bg-primary/90 transition-custom shadow-lg hover-lift">
                                发送留言
                            </button>
                        </form>
                    </div>
                    
                    <div class="flex flex-col justify-center">
                        <div class="space-y-8">
                            <div class="flex items-start space-x-4">
                                <div class="w-12 h-12 bg-primary/10 rounded-full flex items-center justify-center flex-shrink-0">
                                    <i class="fa fa-map-marker text-primary"></i>
                                </div>
                                <div>
                                    <h3 class="text-lg font-semibold mb-1">地址</h3>
                                    <p class="text-dark/70">北京市朝阳区建国路88号</p>
                                </div>
                            </div>
                            
                            <div class="flex items-start space-x-4">
                                <div class="w-12 h-12 bg-primary/10 rounded-full flex items-center justify-center flex-shrink-0">
                                    <i class="fa fa-envelope text-primary"></i>
                                </div>
                                <div>
                                    <h3 class="text-lg font-semibold mb-1">邮箱</h3>
                                    <p class="text-dark/70">contact@qingxinlife.com</p>
                                </div>
                            </div>
                            
                            <div class="flex items-start space-x-4">
                                <div class="w-12 h-12 bg-primary/10 rounded-full flex items-center justify-center flex-shrink-0">
                                    <i class="fa fa-phone text-primary"></i>
                                </div>
                                <div>
                                    <h3 class="text-lg font-semibold mb-1">电话</h3>
                                    <p class="text-dark/70">+86 10 8888 7777</p>
                                </div>
                            </div>
                            
                            <div>
                                <h3 class="text-lg font-semibold mb-3">关注我们</h3>
                                <div class="flex space-x-4">
                                    <a href="#" class="w-10 h-10 bg-primary/10 rounded-full flex items-center justify-center text-primary hover:bg-primary hover:text-white transition-custom">
                                        <i class="fa fa-weixin"></i>
                                    </a>
                                    <a href="#" class="w-10 h-10 bg-primary/10 rounded-full flex items-center justify-center text-primary hover:bg-primary hover:text-white transition-custom">
                                        <i class="fa fa-weibo"></i>
                                    </a>
                                    <a href="#" class="w-10 h-10 bg-primary/10 rounded-full flex items-center justify-center text-primary hover:bg-primary hover:text-white transition-custom">
                                        <i class="fa fa-instagram"></i>
                                    </a>
                                    <a href="#" class="w-10 h-10 bg-primary/10 rounded-full flex items-center justify-center text-primary hover:bg-primary hover:text-white transition-custom">
                                        <i class="fa fa-youtube-play"></i>
                                    </a>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </section>

    <!-- 页脚 -->
    <footer class="bg-dark text-white py-12">
        <div class="container mx-auto px-4 sm:px-6 lg:px-8">
            <div class="max-w-6xl mx-auto">
                <div class="grid md:grid-cols-4 gap-8">
                    <div>
                        <h3 class="text-xl font-bold mb-4 flex items-center space-x-2">
                            <span class="text-primary"><i class="fa fa-leaf"></i></span>
                            <span>清新生活</span>
                        </h3>
                        <p class="text-white/70 mb-4">
                            简单生活，美好日常。探索自然、艺术与日常的交融，发现平凡中的不平凡。
                        </p>
                        <div class="flex space-x-4">
                            <a href="#" class="text-white/70 hover:text-primary transition-custom">
                                <i class="fa fa-weixin"></i>
                            </a>
                            <a href="#" class="text-white/70 hover:text-primary transition-custom">
                                <i class="fa fa-weibo"></i>
                            </a>
                            <a href="#" class="text-white/70 hover:text-primary transition-custom">
                                <i class="fa fa-instagram"></i>
                            </a>
                            <a href="#" class="text-white/70 hover:text-primary transition-custom">
                                <i class="fa fa-youtube-play"></i>
                            </a>
                        </div>
                    </div>
                    
                    <div>
                        <h4 class="text-lg font-semibold mb-4">快速链接</h4>
                        <ul class="space-y-2">
                            <li><a href="#home" class="text-white/70 hover:text-primary transition-custom">首页</a></li>
                            <li><a href="#about" class="text-white/70 hover:text-primary transition-custom">关于</a></li>
                            <li><a href="#gallery" class="text-white/70 hover:text-primary transition-custom">画廊</a></li>
                            <li><a href="#contact" class="text-white/70 hover:text-primary transition-custom">联系</a></li>
                        </ul>
                    </div>
                    
                    <div>
                        <h4 class="text-lg font-semibold mb-4">主题分类</h4>
                        <ul class="space-y-2">
                            <li><a href="#" class="text-white/70 hover:text-primary transition-custom">自然生活</a></li>
                            <li><a href="#" class="text-white/70 hover:text-primary transition-custom">艺术创作</a></li>
                            <li><a href="#" class="text-white/70 hover:text-primary transition-custom">身心健康</a></li>
                            <li><a href="#" class="text-white/70 hover:text-primary transition-custom">手工制作</a></li>
                        </ul>
                    </div>
                    
                    <div>
                        <h4 class="text-lg font-semibold mb-4">订阅更新</h4>
                        <p class="text-white/70 mb-4">
                            订阅我们的电子邮件，获取最新的文章和更新。
                        </p>
                        <form class="flex">
                            <input type="email" placeholder="您的邮箱地址" class="px-4 py-2 rounded-l-lg w-full focus:outline-none text-dark">
                            <button type="submit" class="bg-primary hover:bg-primary/90 transition-custom px-4 py-2 rounded-r-lg">
                                <i class="fa fa-paper-plane"></i>
                            </button>
                        </form>
                    </div>
                </div>
                
                <div class="border-t border-white/10 mt-12 pt-8 text-center text-white/70">
                    <p>&copy; 2025 清新生活. 保留所有权利.</p>
                </div>
            </div>
        </div>
    </footer>

    <!-- JavaScript -->
    <script>
        // 导航栏滚动效果
        const navbar = document.getElementById('navbar');
        const menuToggle = document.getElementById('menu-toggle');
        const mobileMenu = document.getElementById('mobile-menu');
        
        // 监听滚动事件
        window.addEventListener('scroll', () => {
            if (window.scrollY > 50) {
                navbar.classList.add('bg-white', 'shadow-md');
                navbar.classList.remove('bg-transparent');
            } else {
                navbar.classList.remove('bg-white', 'shadow-md');
                navbar.classList.add('bg-transparent');
            }
        });
        
        // 移动端菜单切换
        menuToggle.addEventListener('click', () => {
            mobileMenu.classList.toggle('hidden');
        });
        
        // 平滑滚动
        document.querySelectorAll('a[href^="#"]').forEach(anchor => {
            anchor.addEventListener('click', function(e) {
                e.preventDefault();
                
                // 关闭移动菜单（如果打开）
                mobileMenu.classList.add('hidden');
                
                const targetId = this.getAttribute('href');
                const targetElement = document.querySelector(targetId);
                
                if (targetElement) {
                    window.scrollTo({
                        top: targetElement.offsetTop - 80,
                        behavior: 'smooth'
                    });
                }
            });
        });
        
        // 图片懒加载
        document.addEventListener('DOMContentLoaded', () => {
            const lazyImages = document.querySelectorAll('img');
            
            if ('IntersectionObserver' in window) {
                const imageObserver = new IntersectionObserver((entries, observer) => {
                    entries.forEach(entry => {
                        if (entry.isIntersecting) {
                            const image = entry.target;
                            image.classList.add('opacity-100');
                            image.classList.remove('opacity-0');
                            imageObserver.unobserve(image);
                        }
                    });
                });
                
                lazyImages.forEach(image => {
                    imageObserver.observe(image);
                });
            }
        });
    </script>
</body>
</html>
    